package com.mybatis.mapper;

import com.mybatis.bean.Dept;
import com.mybatis.bean.Emp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmpDeptMapper {

    List<Emp> getAllEmp();

    //分步查询
    Emp getEmpStep(String eid);

    Dept getDeptEmpsByDid(String did);

    Dept getOnlyDeptByDid(String did);

    List<Emp> getEmpListByDid(String did);

}
